﻿using System;
using System.Collections.Generic;
using System.Text;

using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using H2.NET.Data.Common.Validates;

namespace H2.NET.Business
{
    [Table]
    [Serializable]
    public partial class TW_RoyaltyCondtionC_Gridview : DataObject
    {
        [ID]
        [DID]
        public string ID { get { return _ID; } set { _ID = value; EntityState.FieldChange("ID"); } } private string _ID; public static FieldInfo iD = new FieldInfo("TW_RoyaltyCondtionC_Gridview", "ID");
        [Column]
        public string Process { get { return _Process; } set { _Process = value; EntityState.FieldChange("Process"); } } private string _Process; public static FieldInfo process = new FieldInfo("TW_RoyaltyCondtionC_Gridview", "Process");
        [Column]
        public int Incident { get { return _Incident; } set { _Incident = value; EntityState.FieldChange("Incident"); } } private int _Incident; public static FieldInfo incident = new FieldInfo("TW_RoyaltyCondtionC_Gridview", "Incident");
        [Column]
        public string UserName { get { return _UserName; } set { _UserName = value; EntityState.FieldChange("UserName"); } } private string _UserName; public static FieldInfo userName = new FieldInfo("TW_RoyaltyCondtionC_Gridview", "UserName");
        [Column]
        public int No { get { return _No; } set { _No = value; EntityState.FieldChange("No"); } } private int _No; public static FieldInfo no = new FieldInfo("TW_RoyaltyCondtionC_Gridview", "No");
        [Column]
        public string C_Customer { get { return _C_Customer; } set { _C_Customer = value; EntityState.FieldChange("C_Customer"); } } private string _C_Customer; public static FieldInfo c_Customer = new FieldInfo("TW_RoyaltyCondtionC_Gridview", "C_Customer");
        [Column]
        public string C_Price_Grp { get { return _C_Price_Grp; } set { _C_Price_Grp = value; EntityState.FieldChange("C_Price_Grp"); } } private string _C_Price_Grp; public static FieldInfo c_Price_Grp = new FieldInfo("TW_RoyaltyCondtionC_Gridview", "C_Price_Grp");
        [Column]
        public string C_Matl { get { return _C_Matl; } set { _C_Matl = value; EntityState.FieldChange("C_Matl"); } } private string _C_Matl; public static FieldInfo c_Matl = new FieldInfo("TW_RoyaltyCondtionC_Gridview", "C_Matl");
        [Column]
        public string C_Status { get { return _C_Status; } set { _C_Status = value; EntityState.FieldChange("C_Status"); } } private string _C_Status; public static FieldInfo c_Status = new FieldInfo("TW_RoyaltyCondtionC_Gridview", "C_Status");
        [Column]
        public string C_Description { get { return _C_Description; } set { _C_Description = value; EntityState.FieldChange("C_Description"); } } private string _C_Description; public static FieldInfo c_Description = new FieldInfo("TW_RoyaltyCondtionC_Gridview", "C_Description");
        [Column]
        public string C_Proc_Stat { get { return _C_Proc_Stat; } set { _C_Proc_Stat = value; EntityState.FieldChange("C_Proc_Stat"); } } private string _C_Proc_Stat; public static FieldInfo c_Proc_Stat = new FieldInfo("TW_RoyaltyCondtionC_Gridview", "C_Proc_Stat");
        [Column]
        public string C_Scale_Quantity { get { return _C_Scale_Quantity; } set { _C_Scale_Quantity = value; EntityState.FieldChange("C_Scale_Quantity"); } } private string _C_Scale_Quantity; public static FieldInfo c_Scale_Quantity = new FieldInfo("TW_RoyaltyCondtionC_Gridview", "C_Scale_Quantity");
        [Column]
        public string C_Amount { get { return _C_Amount; } set { _C_Amount = value; EntityState.FieldChange("C_Amount"); } } private string _C_Amount; public static FieldInfo c_Amount = new FieldInfo("TW_RoyaltyCondtionC_Gridview", "C_Amount");
        [Column]
        public string C_Unit { get { return _C_Unit; } set { _C_Unit = value; EntityState.FieldChange("C_Unit"); } } private string _C_Unit; public static FieldInfo c_Unit = new FieldInfo("TW_RoyaltyCondtionC_Gridview", "C_Unit");
        [Column]
        public string C_Per { get { return _C_Per; } set { _C_Per = value; EntityState.FieldChange("C_Per"); } } private string _C_Per; public static FieldInfo c_Per = new FieldInfo("TW_RoyaltyCondtionC_Gridview", "C_Per");
        [Column]
        public string C_Uom { get { return _C_Uom; } set { _C_Uom = value; EntityState.FieldChange("C_Uom"); } } private string _C_Uom; public static FieldInfo c_Uom = new FieldInfo("TW_RoyaltyCondtionC_Gridview", "C_Uom");
        [Column]
        public string C_Calculat_Type { get { return _C_Calculat_Type; } set { _C_Calculat_Type = value; EntityState.FieldChange("C_Calculat_Type"); } } private string _C_Calculat_Type; public static FieldInfo c_Calculat_Type = new FieldInfo("TW_RoyaltyCondtionC_Gridview", "C_Calculat_Type");
        [Column]
        public string C_ScaleBasis { get { return _C_ScaleBasis; } set { _C_ScaleBasis = value; EntityState.FieldChange("C_ScaleBasis"); } } private string _C_ScaleBasis; public static FieldInfo c_ScaleBasis = new FieldInfo("TW_RoyaltyCondtionC_Gridview", "C_ScaleBasis");
        [Column]
        public string C_Valid_From { get { return _C_Valid_From; } set { _C_Valid_From = value; EntityState.FieldChange("C_Valid_From"); } } private string _C_Valid_From; public static FieldInfo c_Valid_From = new FieldInfo("TW_RoyaltyCondtionC_Gridview", "C_Valid_From");
        [Column]
        public string C_Valid_To { get { return _C_Valid_To; } set { _C_Valid_To = value; EntityState.FieldChange("C_Valid_To"); } } private string _C_Valid_To; public static FieldInfo c_Valid_To = new FieldInfo("TW_RoyaltyCondtionC_Gridview", "C_Valid_To");
        [Column]
        public DateTime Time { get { return _Time; } set { _Time = value; EntityState.FieldChange("Time"); } } private DateTime _Time; public static FieldInfo time = new FieldInfo("TW_RoyaltyCondtionC_Gridview", "Time");
        [Column]
        public int Status { get { return _Status; } set { _Status = value; EntityState.FieldChange("Status"); } } private int _Status; public static FieldInfo status = new FieldInfo("TW_RoyaltyCondtionC_Gridview", "Status");

    }
}
